package boot.bean;

import boot.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.*;


@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "some")
public class SomeBean {

    private String str;
    private Integer i;
    private String s;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date d;
    private String ss1;
    private String ss2;
    private List list;
    private Set set;
    private Map map;
    private Properties props;
    private String[] arrays;
    private User user;
    private String userPassword;
}
